package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.InnerAgrtAttDao;
import top.infopub.model.bpa.InnerAgrtAtt;
import top.infopub.mgr.bpa.service.InnerAgrtAttService;

@Service
public class InnerAgrtAttServiceImpl extends GenericServiceImpl<InnerAgrtAtt, String> implements
		InnerAgrtAttService {

	@Autowired
	private InnerAgrtAttDao innerAgrtAttDao;
	
	@Override
	public GenericDao<InnerAgrtAtt, String> getDao() {
		return innerAgrtAttDao;
	}

    @Override
    public List<InnerAgrtAtt> selectInnerAgrtAttByInnerAgrtId(String innerAgrtId) {
        return innerAgrtAttDao.selectInnerAgrtAttByInnerAgrtId(innerAgrtId);
    }

}